<template>
    <view>
        <web-view :webview-styles="webviewStyles" :src="src"></web-view>
    </view>
</template>

<script>
    export default {
        data() {
            return {
				index:0,
				src:'',
                webviewStyles: {
                    progress: {
                        color: '#FF3333'
                    }
                }
            }
        },
		onLoad(e) {
			console.log(uni.getStorageSync('webViewUrl'))
			this.src = uni.getStorageSync('webViewUrl')
		},
		methods:{
			click(idx){
				this.index = idx
			}
		}
    }
</script>

<style>

</style>